/**
 * Created by 14229 on 2020/2/19.
 */
public class Test02 {
    public static void main(String[] args) {
        int x = 1;
        int count = 0;
        int[][] arr = {{6,3},{10,8},{12,5},{15,8}};
        for (int i = 0; i <arr.length ; i++) {
            for (int j = 0; j <arr[i].length ; j++) {
                x*=arr[i][j];
                count++;
                if (count==2){
                    System.out.println(x);
                    x=1;
                    count=0;
                }
            }
        }
    }
}
